<?php
if(is_page('about'))
{
	$mn_about = 'class="active"';
}
if(is_page('hotels') || is_singular('post'))
{
	$mn_hotel = 'class="active"';
}
if(is_page('service') || is_singular('services'))
{
	$mn_service = 'class="active"';
}
if(is_page('restaurent'))
{
	$mn_restaurent = 'class="active"';
}
if(is_page('visa-ticket'))
{
	$mn_visa_ticket = 'class="active"';
}
if(is_page('gallery'))
{
	$mn_gallery = 'class="active"';
}
if(is_page('news-events') || is_singular('news-event'))
{
	$mn_news = 'class="active"';
}
if(is_page('contact-us'))
{
	$mn_contact = 'class="active"';
}
if(is_page('tours') || is_singular('tour'))
{
	$mn_tour = 'class="active"';
}
if(is_page('testimo') || is_singular('testimonials'))
{
	$mn_testimonial = 'class="active"';
}
else if(is_home() || is_front_page())
{
	$mn_home = 'class="active"';
}

if(is_page('hotels'))
{
	if(isset($_GET['tab']) && $_GET['tab']!=null)
	{
		if($_GET['tab']=='views')
		{
			$m_views = 'class="active"';
		}
		else if($_GET['tab']=='policies')
		{
			$m_policies = 'class="active"';
		}
		else if($_GET['tab']=='features')
		{
			$m_features = 'class="active"';
		}
		else 
		{
			$m_price = 'class="active"';			
		}
	}
}

if(is_singular('tour'))
{
	if(isset($_GET['tab']) && $_GET['tab']!=null)
	{
		if($_GET['tab']=='views')
		{
			$m_views = 'class="active"';
		}
		else if($_GET['tab']=='schedule')
		{
			$m_schedule = 'class="active"';
		}
		else if($_GET['tab']=='term-condition')
		{
			$m_term_condition = 'class="active"';
		}
		else if($_GET['tab']=='similar')
		{
			$m_similar = 'class="last"';
		}
		else 
		{
			$m_price = 'class="active"';			
		}
	}
}
